{%- extends "haiku/layout.html" %}

{% macro path_sequence() %}
        <p>
        {%- block haikurel1 %}
        {%- endblock %}
        {% if title != "Contents" %}
                <a href="{{ pathto(master_doc) }}">Contents</a>
                &#160;&#160;&raquo;&#160;&#160;
                {% for item in parents %}
                        <a href="{{ item.link|e }}">{{ item.title }}</a>
                        &#160;&#160;&raquo;&#160;&#160;
                {% endfor %}
        {% endif %}
        {{ title }}
        {%- block haikurel2 %}
        {%- endblock %}
        </p>
{% endmacro %}

{% block content %}
      <div class="header" role="banner">
        {%- block haikuheader %}
        {%- if theme_full_logo != "false" %}
        <a href="{{ pathto('index') }}">
          <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
        </a>
        {%- else %}
        {%- if logo -%}
          <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
        {%- endif -%}
        <h1 class="heading"><a href="{{ pathto('index') }}">
          <span>{{ shorttitle|e }}</span></a></h1>
        <h2 class="heading"><span>Point Processing Toolkit</span></h2>
        {%- endif %}
        {%- endblock %}
      </div>
      <div class="topnav" role="navigation" aria-label="top navigation">
      {{ path_sequence() }}
      </div>
      <div class="content">
        {#{%- if display_toc %}
        <div id="toc">
          <h3>{{ _('Table of Contents') }}</h3>
          {{ toc }}
        </div>
        {%- endif %}#}
        {% block body %}{% endblock %}
      </div>
      <div class="bottomnav" role="navigation" aria-label="bottom navigation">
      <p>&#160;</p>
      {# {{ path_sequence() }} #}
      </div>
{% endblock %}
